<?php
     
        $xcrud = Xcrud::get_instance();
        $xcrud->table('game_category');
       
		$xcrud->relation('main','game_category','id','tieude');
       $xcrud->change_type('sdes', 'text');
	  $xcrud->change_type('picture','image','../../../../upload',array('thumb_height'=>50));
	   $xcrud->change_type('lpicture','image','../../../../upload',array('thumb_height'=>100));
        //---------ADD /EDIT MODE----------
       		           $xcrud->theme('bootstrap');
                 $xcrud->table_name('Game Category');
				 $xcrud->show_primary_ai_column(true);
      			 echo $xcrud->render();
            
                //PHAI VALID LAI, CHI CO MOT VAI USER MOI CO QUYEN SUA THONG TIN CUA ADMIN GROUP VA CHINH GROUP CUA MEMBER
                //EMAIL VA  TAI KHOAN CUA USER KHONG THE THAY DOI 

?>
